/**
 * 议程
 */
export interface ScheduleItem {
  id: number | null
  subjectId: number | null
  time: string
  title: string
  brief: string
}

/**
 * 主题
 */
export interface Subject {
  id: number | null
  scheduleId: number | null
  title?: string
  brief?: string
  items: ScheduleItem[]
}

/**
 * 行程
 */
export interface DaySchedule {
  id: number | null
  day: string
  week: string
  subjects: Subject[]
}

export type ScheduleList = DaySchedule[]

export interface ScheduleView {
  orderId: number
  schedules: ScheduleList
}
